﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Form.Master" CodeBehind="history_form.aspx.cs" Inherits="BBPA.Admin.Store.Group_Buy.history_form" %>
<%@ MasterType VirtualPath="~/Form.Master" %>
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_main" runat="server">
    <table class="formTable" border="1">
        <tr>
            <td class="td_title">团购名称：</td>
            <td>
                 <asp:Label ID="lbltitle" runat="server" Text=""></asp:Label>
            </td>
            <td class="td_title">团购总金额：</td>
            <td>
              <asp:Label ID="lblprice" runat="server" Text=""></asp:Label>
            </td>
        </tr>
         <tr>
            <td class="td_title">团购公告：</td>
            <td colspan="3">
                 <asp:Label ID="lblcontet" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="td_title">已定金额：</td>
            <td>
                  <asp:Label ID="lblorderprice" runat="server" Text=""></asp:Label>
            </td>
            <td class="td_title">已付款金额：</td>
            <td>
               <asp:Label ID="lblpayprice" runat="server" Text=""></asp:Label>
            </td>
        </tr>
         <tr>
            <td class="td_title">团购结束时间：</td>
            <td>
                 <asp:Label ID="lblendtime" runat="server" Text=""></asp:Label>
            </td>
            <td class="td_title">团购付款结束时间：</td>
            <td>
              <asp:Label ID="lblendpaytime" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
    
    <asp:Repeater ID="rp_Goods" runat="server">
        <HeaderTemplate>
            <table class="formTable haveBorder <%=rp_Goods.Items.Count==0?"hide":"" %>">
                <thead>
                    <tr>
                        <th>货品</th>
                        <th>下单数量</th>
                        <th>单价</th>
                        <th>发货数量</th>
                        <th>小计</th>
                    </tr>
                </thead>
        </HeaderTemplate>
        <ItemTemplate>
            <tr data-key-id="<%#Eval("GoodsID") %>" data-row-title="<%#Eval("Name") %>">
                <td rowspan="2">
                    <asp:TextBox ID="tb_id" runat="server" CssClass="hide"  Text='<%#Eval("GoodsID") %>'></asp:TextBox>
                    <a href="###" href-info="/sys/goods/info.aspx?id=<%#Eval("GoodsID") %>&HideOrderForm=1" style="display: block; overflow: hidden; min-width: 200px;">
                        <div style="width: 80px; margin-right: 10px;" class=" inlineblock">
                            <img src="<%#Eval("PicURL") %>" /></div>
                        <div style="min-width: 100px;" class=" inlineblock"><%#Eval("Number") %><br>
                            <div style="line-height: initial;"><%#Eval("BrandName") %> <%#Eval("Name") %></div>
                        </div>
                    </a>
                </td>
                 <td style="text-align: center;"><%#Eval("ExpectAmount") %></td>
                <td style="text-align: center;font-size:16px; color:red;"><asp:Label ID="price" CssClass="lblprice" runat="server" Text='<%#StringPlus.showCoin(Eval("ActualPrice")) %>'></asp:Label></td>
                <td style="text-align: center;height:60px;">
                    <asp:Label ID="Label1"  runat="server" Text='<%#StringPlus.showCoin(Eval("ActualAmount")) %>'></asp:Label>
                   </td>
                <td itemsum="1" class="text-error" style="text-align: center;font-size:16px; color:red;">
                    <asp:Label ID="Label2"  runat="server" Text='<%#StringPlus.showCoin(Eval("ActualPriceSum")) %>'></asp:Label>
                </td>
            </tr>
            <tr><td colspan="4"><asp:Label ID="Label4"  runat="server" Text='<%#Eval("Description") %>' /></td></tr>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
